package com.zhiche.lisa.bms.dao.model.psup;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 人送供方一口价
 * </p>
 *
 * @author linbao
 * @since 2019-06-18
 */
@TableName("lisa_psup_fixed_price")
public class PsupFixedPrice extends Model<PsupFixedPrice> {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    /**
     * 车队id
     */
    @TableField("fleet_id")
    private Long fleetId;
    /**
     * 车队名称
     */
    @TableField("fleet_name")
    private String fleetName;
    /**
     * 起运省
     */
    @TableField("start_province")
    private String startProvince;
    /**
     * 起运市
     */
    @TableField("start_city")
    private String startCity;
    /**
     * 起运区
     */
    @TableField("start_county")
    private String startCounty;
    /**
     * 起运地
     */
    @TableField("start_name")
    private String startName;
    /**
     * 目的运省
     */
    @TableField("end_province")
    private String endProvince;
    /**
     * 目的市
     */
    @TableField("end_city")
    private String endCity;
    /**
     * 目的区
     */
    @TableField("end_county")
    private String endCounty;
    /**
     * 目的地
     */
    @TableField("end_name")
    private String endName;
    /**
     * 合同车型名称
     */
    @TableField("contract_vehicle")
    private String contractVehicle;
    /**
     * 价格
     */
    private BigDecimal price;
    /**
     * 生效日期
     */
    @TableField("effective_date")
    private Date effectiveDate;
    /**
     * 失效日期
     */
    @TableField("invalid_date")
    private Date invalidDate;
    /**
     * 状态; 0-新增, 1-已审核
     */
    private Integer status;
    /**
     * 创建时间
     */
    @TableField("gmt_create")
    private Date gmtCreate;
    /**
     * 创建人
     */
    @TableField("creator_name")
    private String creatorName;
    /**
     * 审核人
     */
    @TableField("activiti_name")
    private String activitiName;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getFleetId() {
        return fleetId;
    }

    public void setFleetId(Long fleetId) {
        this.fleetId = fleetId;
    }

    public String getFleetName() {
        return fleetName;
    }

    public void setFleetName(String fleetName) {
        this.fleetName = fleetName;
    }

    public String getStartProvince() {
        return startProvince;
    }

    public void setStartProvince(String startProvince) {
        this.startProvince = startProvince;
    }

    public String getStartCity() {
        return startCity;
    }

    public void setStartCity(String startCity) {
        this.startCity = startCity;
    }

    public String getStartCounty() {
        return startCounty;
    }

    public void setStartCounty(String startCounty) {
        this.startCounty = startCounty;
    }

    public String getStartName() {
        return startName;
    }

    public void setStartName(String startName) {
        this.startName = startName;
    }

    public String getEndProvince() {
        return endProvince;
    }

    public void setEndProvince(String endProvince) {
        this.endProvince = endProvince;
    }

    public String getEndCity() {
        return endCity;
    }

    public void setEndCity(String endCity) {
        this.endCity = endCity;
    }

    public String getEndCounty() {
        return endCounty;
    }

    public void setEndCounty(String endCounty) {
        this.endCounty = endCounty;
    }

    public String getEndName() {
        return endName;
    }

    public void setEndName(String endName) {
        this.endName = endName;
    }

    public String getContractVehicle() {
        return contractVehicle;
    }

    public void setContractVehicle(String contractVehicle) {
        this.contractVehicle = contractVehicle;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public Date getEffectiveDate() {
        return effectiveDate;
    }

    public void setEffectiveDate(Date effectiveDate) {
        this.effectiveDate = effectiveDate;
    }

    public Date getInvalidDate() {
        return invalidDate;
    }

    public void setInvalidDate(Date invalidDate) {
        this.invalidDate = invalidDate;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getGmtCreate() {
        return gmtCreate;
    }

    public void setGmtCreate(Date gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    public String getCreatorName() {
        return creatorName;
    }

    public void setCreatorName(String creatorName) {
        this.creatorName = creatorName;
    }

    public String getActivitiName() {
        return activitiName;
    }

    public void setActivitiName(String activitiName) {
        this.activitiName = activitiName;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "PsupFixedPrice{" +
                ", id=" + id +
                ", fleetId=" + fleetId +
                ", fleetName=" + fleetName +
                ", startProvince=" + startProvince +
                ", startCity=" + startCity +
                ", startCounty=" + startCounty +
                ", startName=" + startName +
                ", endProvince=" + endProvince +
                ", endCity=" + endCity +
                ", endCounty=" + endCounty +
                ", endName=" + endName +
                ", contractVehicle=" + contractVehicle +
                ", price=" + price +
                ", effectiveDate=" + effectiveDate +
                ", invalidDate=" + invalidDate +
                ", status=" + status +
                ", gmtCreate=" + gmtCreate +
                ", creatorName=" + creatorName +
                ", activitiName=" + activitiName +
                "}";
    }
}
